#include <iostream>
#include <cmath>
using namespace std;
int main(){
	int n=sqrt(5000000);
	printf("%d",n);
	return 0;
}
